﻿using System;
namespace ChinaSoft.Model
{
	/// <summary>
	/// 系统权限列表
	/// </summary>
	[Serializable]
	public partial class Model_tb_MidSoft_PowerList
	{
		public Model_tb_MidSoft_PowerList()
		{}
		#region Model
		private int _powerid;
		private string _powername;
		private int? _fatherid=0;
		private DateTime _createtime= DateTime.Now;
		private int _createuserid;
		private int? _sort;
		private int _menutype=0;
		private string _nodedepth= "1";
		private string _siteurl;
		/// <summary>
		/// 表主键
		/// </summary>
		public int PowerId
		{
			set{ _powerid=value;}
			get{return _powerid;}
		}
		/// <summary>
		/// 权限名
		/// </summary>
		public string PowerName
		{
			set{ _powername=value;}
			get{return _powername;}
		}
		/// <summary>
		/// 父级ID(0表示无父级)
		/// </summary>
		public int? FatherID
		{
			set{ _fatherid=value;}
			get{return _fatherid;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 创建人ID
		/// </summary>
		public int CreateUserId
		{
			set{ _createuserid=value;}
			get{return _createuserid;}
		}
		/// <summary>
		/// 排序（优先权大于CreateTime）
		/// </summary>
		public int? Sort
		{
			set{ _sort=value;}
			get{return _sort;}
		}
		/// <summary>
		/// 当为0时为菜单（同时也是权限名），1时为权限名，不显示在菜单上。
		/// </summary>
		public int MenuType
		{
			set{ _menutype=value;}
			get{return _menutype;}
		}
		/// <summary>
		/// 节点深度（1为根目录，2为二级目录，以此类推）
		/// </summary>
		public string NodeDepth
		{
			set{ _nodedepth=value;}
			get{return _nodedepth;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string SiteURL
		{
			set{ _siteurl=value;}
			get{return _siteurl;}
		}
		#endregion Model

	}
}

